package com.tracesystem.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.tracesystem.commons.Result;
import com.tracesystem.controller.form.*;
import com.tracesystem.controller.info.SimpleUserInfo;
import com.tracesystem.model.IssueUser;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-23
 */
public interface IssueUserService extends IService<IssueUser> {

    /**
     * 修改账号信息
     * @param updateUserForm
     * @return
     */
    Result updateIssueUser(UpdateUserForm updateUserForm);

    Result<Page<SimpleUserInfo>> findUserPage(GetUserPageForm getUserPageForm);

    Result ReWitePassword(ChangePasswordForm changePasswordForm);

    Result<?> cutUser(RmUserForm rmUserForm);

    Result saveUser(InsertUserForm insertUserForm);
}
